<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% load static %}
    <link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}">
    <script src="{% static '/js/jquery-3.2.1.min.js' %}"></script>
    <script src="{% static '/js/bootstrap.min.js' %}"></script>
    <title>录入会员信息</title>
</head>
<style>
    div{
        width: 100%;
        text-align: center;
    }
</style>
<body>
<h3 align="center">请在下方输入会员信息</h3>

    <form method="post" action="" class="form-horizontal" role="form">
        <div class="form-group">
        {% csrf_token %}

            姓&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp名：<input type="text"  name="name" required="required" placeholder="姓名"><br>

            性&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp别：<input type="text" name="sex" required="required" placeholder="性别"><br>

            年&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp龄：<input type="text" name="age" required="required" placeholder="年龄"><br>

            电&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp话：<input type="text" name="phone" required="required" maxlength="11" placeholder="电话"><br>

            身份证号：<input type="text" name="id_card" required="required" maxlength="18" placeholder="身份证号"><br>

        </div>
        <div>
            <button class="btn btn-default">提交信息</button>
            <a href="/reception/"><span>返回前台</span></a>
        </div>

    </form>


{{ msg }}
</body>
</html>